package com.qk.management.controller;

import com.qk.common.util.Result;
import com.qk.management.service.PortalOverViewService;
import com.qk.vo.portal.PortalOverviewVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping
public class PortalOverViewController {
    @Autowired
   private PortalOverViewService portalOverViewService;


    @GetMapping("/report/overview")
    public Result reportOverview() {
        log.info("获取报表总览");
      PortalOverviewVO VO= portalOverViewService.reportOverview();
        return Result.success(VO);
    }
}
